package io.api.modules.project.dao;

import io.admin.common.dao.BaseDao;
import io.api.modules.project.entity.FileUrlEntity;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * 文件地址管理表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-07-12
 */
@Mapper
public interface FileUrlDao extends BaseDao<FileUrlEntity> {

    @Delete("delete from tb_file_url where keys_id = #{keyId}")
    void deleteByKeysId(Long keyId);
	
}